package com.topscomm.mis.cbb.pm.api;

import com.topscomm.pub.vo.Page;

import java.util.List;
import java.util.Map;

/**
 * @author: caozhiyuan
 * @date: 2023-6-21
 * @description:
 * @modify:
 */
public interface IReplayService {

    /**
     * @author: caozhiyuan
     * @date: 2023-07-21 17:45:08
     * @param: paramMap
     * @description: 插入数据
     * @return: java.util.Map<java.lang.String,java.lang.Object>
     * @modify:
     */
    Map<String, Object> insert(Map<String, Object> paramMap);


    /**
     * @author: caozhiyuan
     * @date: 2023-07-21 17:45:25
     * @param: paraMap
     * @param: sqlWhere
     * @description: 列表页面
     * @return: com.topscomm.pub.vo.Page
     * @modify:
     */
    Page list(Map<String, Object> paraMap, String sqlWhere);


    /**
     * @author: caozhiyuan
     * @date: 2023-07-21 17:45:39
     * @param: paramMap
     * @description: 更新
     * @return: void
     * @modify:
     */
    void update(Map<String, Object> paramMap);


    /**
     * description 删除
     * @author wxm
     * @date 2023-06-25 18:19:54
     * @param paraMap
     * @return void
     * @modify
     */
    void delete(Map<String, Object> paraMap);

    /**
     * description 加载详情页
     * @author wxm
     * @date 2023-06-25 18:44:58
     * @param paraMap
     * @return java.util.Map<java.lang.String,java.lang.Object>
     * @modify
     */
    Map<String, Object> load(Map<String, Object> paraMap);

    /**
     * description 批量插入数据
     * @author wxm
     * @date 2023-06-27 22:22:06
     * @param paramMap
     * @return java.util.List<java.util.Map<java.lang.String,java.lang.Object>>
     * @modify
     */
    List<Map<String, Object>> insertBatch(List<Map<String, Object>> paramMap);

    /**
     * @author: caozhiyuan
     * @date: 2023-07-25 15:20:30
     * @param: paraMap
     * @description: 根据projectUUcode加载详情
     * @return: java.util.Map<java.lang.String,java.lang.Object>
     * @modify:
     */
    Map<String, Object> loadByProjectUUcode(Map<String, Object> paraMap);
}
